package com.aaa.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 员工表(Emp)实体类
 *
 * @author makejava
 * @since 2022-11-17 14:30:44
 */
@Data
@ApiModel("员工")
@ToString
public class Emp implements Serializable {
    private static final long serialVersionUID = 340228818127680961L;
    /**
     * ID
     */
    @ApiModelProperty(value = "ID(添加数据不填)", required = true)
    private Integer id;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", required = true)
    private String name;
    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", required = true)
    private Integer age;
    /**
     * 职位
     */
    @ApiModelProperty(value = "职位", required = true)
    private String job;
    /**
     * 薪资
     */
    @ApiModelProperty(value = "薪资", required = true)
    private BigDecimal salary;
    /**
     * 入职时间
     */
    @ApiModelProperty(value = "入职时间", required = true)
    private Date entryDate;
    /**
     * 直属领导ID
     */
    @ApiModelProperty(value = "直属领导ID", required = true)
    private Integer managerId;
    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID", required = true)
    private Integer deptId;
    /**
     * 照片
     */
    @ApiModelProperty(value = "照片", required = true)
    private String imgUrl;

    /**
     * 部门
     */
    @ApiModelProperty(value = "部门", required = false)
    private Dept dept;

}

